import SqlAgentLayout from '@/views/modules/sql-agent/layout'

export default () => [{
  path: '/sql-agent',
  component: SqlAgentLayout,
  name: 'sql-agent-layout',
  redirect: '/sql-agent/home',
  children: [
    {
      path: 'home',
      component: () => import('@/views/modules/sql-agent/pages/home'),
      name: 'SqlAgentHome',
      meta: {
        title: 'SQL Agent',
        icon: 'https://oss.mspbots.ai/files/sql_agent_logo.png'
      }
    },
    {
      path: 'setting',
      component: () => import('@/views/modules/sql-agent/pages/setting'),
      name: 'SqlAgentSetting',
      meta: {
        title: 'Setting',
        icon: 'el-icon-news',
        hidden: true
      }
    }
  ]
}
]
